class Tal {
    constructor(s: string) {
        this.mess = s;
    }

    mess: string;
    doSome = function (): string {
        console.log(mess);
        return '123';
    }
}